/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

import com.xy.lang.validation.annotation.AlertMessage;

import java.util.List;

/**
 *
 *
 * @author zsp
 * @date 2021-3-12
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListDocumentFlowNewAndModifyRequest {

    @NotNull(message = "pageIndexRequired")
    @AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
    private Integer pageIndex;

    @NotNull(message = "pageSizeRequired")
    @AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
    private Integer pageSize;

    /**
     * 流程类型：0-未定义，1-新增流程，2-修订流程，3-作废流程，4-下载审批流程，5-借阅流程
     */
    private List<Integer> flowTypeList;
    /**
     * 阶段：0-未定义
     */
    private String phase;
    /**
     * 是否参加培训：0-否，1-是
     */
    private java.lang.Boolean trainFlag;
    /**
     * 是否查询批处理子文件
     */
    private java.lang.Boolean withBatchSubFile;
    /**
     * 培训人Id
     */
    private java.lang.Long trainerUserId;
    /**
     * 培训签收状态：0-未签收，1-已签收，2-已发起
     */
    private Integer trainCheckStatus;

}
